package under.wsl.servico;
import java.util.List;
/**
 * @author alexandre.araujo
 */
public class ServicoDAO {
    public String flameWork;
    public String versao;
    public String autor;
    public List<Servico> servicos;
    public Servico getServicoByName(String nome){
        Servico serv=null;
        int tmS = this.servicos.size();
        for(int y=0;y<tmS;y++){
            Servico tmpS = this.servicos.get(y);
            if(tmpS.nome.equals(nome)){
               serv=tmpS;
               break;
           }
        }
        return serv;
    }
}